/* =========================================
   GOOGLE FONT
========================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');


/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


html,
body {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
}


body {
    font-family: 'Poppins', sans-serif;
    background: #f5f7fa;
    color: #333;
    line-height: 1.8;
}


img {
    width: 100%;
    display: block;
}


a {
    text-decoration: none;
}


section {
    width: 100%;
}


/* =========================================
   NAVIGATION - DESKTOP
========================================= */

nav {
    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 20px 70px;

    background: #003366;

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    z-index: 9999;

    box-shadow: 0 3px 10px rgba(0, 0, 0, .2);
}


/* =========================================
   LOGO
========================================= */

.logo img {
    height: 55px;

    width: auto;
}


/* =========================================
   DESKTOP MENU
========================================= */

.nav-links {
    display: flex;

    list-style: none;

    align-items: center;

    gap: 45px;
}


.nav-links li {
    display: inline-block;
}


.nav-links a {
    text-decoration: none;

    color: white;

    font-size: 18px;

    font-weight: 600;

    transition: 0.3s ease;
}


/* ACTIVE PAGE */

.nav-links a.active {
    color: #6DB7FF;
}


/* HOVER */

.nav-links a:hover {
    color: #6DB7FF;
}


/* =========================================
   HAMBURGER BUTTON
   HIDDEN ON DESKTOP
========================================= */

.menu-toggle {
    display: none !important;

    background: transparent;

    border: none;

    outline: none;

    color: white;

    font-size: 28px;

    cursor: pointer;

    padding: 5px;

    z-index: 10001;
}


/* =========================================
   HERO
========================================= */

.hero {

    width: 100%;

    min-height: 90vh;

    background:
        linear-gradient(
            rgba(0, 31, 84, .75),
            rgba(0, 31, 84, .75)
        ),
        url(images/service-bg.jpg);

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    display: flex;

    justify-content: center;

    align-items: center;

    text-align: center;

    padding: 120px 40px 40px;
}


.hero-content {
    max-width: 850px;
}


.hero h1 {
    color: white;

    font-size: 58px;

    font-weight: 700;

    margin-bottom: 25px;

    line-height: 1.2;
}


.hero p {
    color: white;

    font-size: 20px;

    margin-bottom: 40px;

    line-height: 1.8;
}


.hero-btn {

    display: inline-block;

    background: #ffc107;

    color: #001f54;

    padding: 16px 40px;

    border-radius: 50px;

    font-size: 18px;

    font-weight: 600;

    transition: .4s;
}


.hero-btn:hover {

    background: white;

    transform: translateY(-5px);
}


/* =========================================
   INTRO
========================================= */

.intro {

    width: 85%;

    margin: 90px auto;

    text-align: center;
}


.intro h2 {

    font-size: 42px;

    color: #001f54;

    margin-bottom: 25px;
}


.intro p {

    max-width: 950px;

    margin: auto;

    font-size: 18px;

    color: #555;

    line-height: 1.8;
}


/* =========================================
   SERVICES
========================================= */

.services {

    width: 90%;

    margin: auto;

    padding-bottom: 80px;
}


.service-box {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 60px;

    align-items: center;

    margin-bottom: 80px;

    background: white;

    padding: 45px;

    border-radius: 18px;

    box-shadow: 0 10px 35px rgba(0, 0, 0, .08);

    transition: .4s;

    animation: fadeUp .8s ease both;
}


.service-box:hover {

    transform: translateY(-10px);

    box-shadow: 0 18px 45px rgba(0, 0, 0, .15);
}


/* =========================================
   ALTERNATE IMAGE POSITION
========================================= */

.reverse .service-text {
    order: 2;
}


.reverse .service-image {
    order: 1;
}


/* =========================================
   TEXT
========================================= */

.service-text h2 {

    color: #001f54;

    font-size: 34px;

    margin-bottom: 18px;

    line-height: 1.3;
}


.service-text p {

    font-size: 17px;

    color: #555;

    line-height: 1.8;
}


/* =========================================
   IMAGE
========================================= */

.service-image {

    overflow: hidden;

    border-radius: 18px;
}


.service-image img {

    border-radius: 18px;

    transition: .5s;

    height: 350px;

    object-fit: cover;
}


.service-image:hover img {

    transform: scale(1.08);
}


/* =========================================
   CTA
========================================= */

.cta {

    background: #001f54;

    color: white;

    text-align: center;

    padding: 90px 20px;
}


.cta h2 {

    font-size: 42px;

    margin-bottom: 20px;

    line-height: 1.3;
}


.cta p {

    max-width: 900px;

    margin: auto;

    font-size: 18px;

    margin-bottom: 40px;

    line-height: 1.8;
}


.cta-btn {

    display: inline-block;

    background: #ffc107;

    color: #001f54;

    padding: 16px 42px;

    border-radius: 50px;

    font-size: 18px;

    font-weight: 600;

    transition: .4s;
}


.cta-btn:hover {

    background: white;

    transform: translateY(-5px);
}


/* =========================================
   FOOTER
========================================= */

.footer {

    background: #001f54;

    color: #fff;

    padding: 70px 10% 20px;
}


.footer-content {

    display: grid;

    grid-template-columns: 2fr 1fr 1fr;

    gap: 60px;
}


.footer h2 {

    font-size: 26px;

    margin-bottom: 20px;

    color: #ffc107;
}


.footer p {

    color: #d6d6d6;

    line-height: 1.8;

    font-size: 16px;
}


.footer-links ul {

    list-style: none;
}


.footer-links li {

    margin-bottom: 15px;
}


.footer-links a {

    color: #ffffff;

    transition: .3s;

    font-size: 16px;
}


.footer-links a:hover {

    color: #ffc107;

    padding-left: 8px;
}


.footer-contact p {

    margin-bottom: 15px;
}


.footer-bottom {

    border-top: 1px solid rgba(255, 255, 255, .2);

    margin-top: 50px;

    padding-top: 20px;

    text-align: center;
}


.footer-bottom p {

    color: #bfbfbf;

    font-size: 15px;
}


/* =========================================
   ANIMATION
========================================= */

@keyframes fadeUp {

    from {

        opacity: 0;

        transform: translateY(40px);
    }

    to {

        opacity: 1;

        transform: translateY(0);
    }
}


/* =========================================
   SCROLLBAR
========================================= */

::-webkit-scrollbar {

    width: 10px;
}


::-webkit-scrollbar-track {

    background: #ececec;
}


::-webkit-scrollbar-thumb {

    background: #001f54;

    border-radius: 20px;
}


::-webkit-scrollbar-thumb:hover {

    background: #003b8f;
}


/* =========================================
   SELECTION
========================================= */

::selection {

    background: #ffc107;

    color: #001f54;
}


/* =========================================
   TABLET
   992px AND BELOW
========================================= */

@media screen and (max-width: 992px) {

    .hero h1 {

        font-size: 46px;
    }


    .hero p {

        font-size: 18px;
    }


    .intro h2 {

        font-size: 36px;
    }


    .service-box {

        grid-template-columns: 1fr;

        gap: 35px;

        padding: 35px;
    }


    .reverse .service-text,
    .reverse .service-image {

        order: initial;
    }


    .service-image img {

        height: 300px;
    }


    .footer-content {

        grid-template-columns: 1fr;

        gap: 40px;
    }

}


/* =========================================
   MOBILE
   768px AND BELOW
========================================= */

@media screen and (max-width: 768px) {


    /* -------------------------------------
       NAVIGATION
    ------------------------------------- */

    nav {

        height: 70px;

        padding: 12px 20px;
    }


    .logo img {

        height: 45px;
    }


    /* SHOW HAMBURGER */

    .menu-toggle {

        display: block !important;
    }


    /* MOBILE NAVIGATION MENU */

    .nav-links {

        display: none;

        position: absolute;

        top: 70px;

        right: 15px;

        width: 210px;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 10px 0;

        background: rgba(0, 0, 0, 0.95);

        border-radius: 8px;

        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    }


    /* OPEN MENU */

    .nav-links.active {

        display: flex;
    }


    .nav-links li {

        display: block;

        width: 100%;
    }


    .nav-links a {

        display: block;

        width: 100%;

        padding: 15px 20px;

        font-size: 16px;
    }


    .nav-links a:hover {

        padding: 15px 20px;
    }


    /* -------------------------------------
       HERO
    ------------------------------------- */

    .hero {

        min-height: 75vh;

        padding: 100px 20px 40px;
    }


    .hero h1 {

        font-size: 36px;

        line-height: 1.2;
    }


    .hero p {

        font-size: 17px;

        line-height: 1.7;
    }


    .hero-btn {

        padding: 14px 32px;

        font-size: 16px;
    }


    /* -------------------------------------
       INTRO
    ------------------------------------- */

    .intro {

        width: 92%;

        margin: 60px auto;
    }


    .intro h2 {

        font-size: 30px;
    }


    .intro p {

        font-size: 16px;

        line-height: 1.7;
    }


    /* -------------------------------------
       SERVICES
    ------------------------------------- */

    .services {

        width: 94%;
    }


    .service-box {

        grid-template-columns: 1fr;

        padding: 25px;

        margin-bottom: 45px;

        gap: 25px;
    }


    .reverse .service-text,
    .reverse .service-image {

        order: initial;
    }


    .service-text h2 {

        font-size: 26px;

        line-height: 1.3;
    }


    .service-text p {

        font-size: 15px;

        line-height: 1.7;
    }


    .service-image img {

        height: 230px;
    }


    /* -------------------------------------
       CTA
    ------------------------------------- */

    .cta {

        padding: 70px 20px;
    }


    .cta h2 {

        font-size: 30px;

        line-height: 1.3;
    }


    .cta p {

        font-size: 16px;

        line-height: 1.7;
    }


    .cta-btn {

        padding: 14px 30px;

        font-size: 16px;
    }


    /* -------------------------------------
       FOOTER
    ------------------------------------- */

    .footer {

        text-align: center;

        padding: 60px 8% 20px;
    }


    .footer-content {

        grid-template-columns: 1fr;

        gap: 40px;
    }


    .footer h2 {

        font-size: 22px;
    }


    .footer-links a:hover {

        padding-left: 0;
    }

}


/* =========================================
   SMALL PHONES
   480px AND BELOW
========================================= */

@media screen and (max-width: 480px) {


    /* -------------------------------------
       NAVIGATION
    ------------------------------------- */

    nav {

        height: 65px;

        padding: 10px 15px;
    }


    .logo img {

        height: 40px;
    }


    .menu-toggle {

        font-size: 25px;
    }


    .nav-links {

        top: 65px;

        right: 10px;

        width: 200px;
    }


    /* -------------------------------------
       HERO
    ------------------------------------- */

    .hero {

        min-height: 75vh;

        padding: 90px 20px 35px;
    }


    .hero h1 {

        font-size: 30px;

        line-height: 1.25;
    }


    .hero p {

        font-size: 15px;

        line-height: 1.7;
    }


    /* -------------------------------------
       INTRO
    ------------------------------------- */

    .intro h2 {

        font-size: 27px;
    }


    .intro p {

        font-size: 15px;
    }


    /* -------------------------------------
       SERVICE BOX
    ------------------------------------- */

    .service-box {

        padding: 20px;

        border-radius: 14px;
    }


    .service-text h2 {

        font-size: 22px;
    }


    .service-text p {

        font-size: 15px;

        line-height: 1.7;
    }


    .service-image {

        border-radius: 12px;
    }


    .service-image img {

        height: 200px;

        border-radius: 12px;
    }


    /* -------------------------------------
       CTA
    ------------------------------------- */

    .cta h2 {

        font-size: 26px;
    }


    .cta p {

        font-size: 15px;
    }


    /* -------------------------------------
       FOOTER
    ------------------------------------- */

    .footer {

        padding: 50px 20px 20px;
    }


    .footer p {

        font-size: 15px;
    }

}